package com.yiyi.word_test.enums;

import lombok.Getter;

@Getter
public enum LimitEnum {
    GRADE_1(0, new Integer[]{1, 800}),
    GRADE_2(1, new Integer[]{801, 2532}),
    GRADE_3(2, new Integer[]{2533, 5344}),
    GRADE_4(3, new Integer[]{5345, 9765}),
    GRADE_5(4, new Integer[]{9766, 20144});

    private Integer grade;
    private Integer[] limit;

    LimitEnum(Integer grade, Integer[] limit) {
        this.grade = grade;
        this.limit = limit;
    }
}
